package user;

import Book.BookList;
import operation.IOPeration;

public abstract class User {
  protected String name;
  public IOPeration[] ioPerations;
    //这里也可以罗列更多的属性
    public User(String name){
        this.name=name;
    }
   public abstract int menu() ;
    public void doOperation(int choice,BookList booklist){
       ioPerations[choice].work(booklist);

    }

    }

